package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:11
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductRoleDefineDAO extends IDataAccessInterface<ProductRoleDefine, ProductRoleDefineDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_ROLE_DEFINE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_ROLE_DEFINE.ID";

    /**
     * Mapped Field PRODUCT_DEFINE_ID
    */
    static final String ProductDefineId = "PRODUCT_ROLE_DEFINE.PRODUCT_DEFINE_ID";

    /**
     * Mapped Field ROLE_CODE
    */
    static final String RoleCode = "PRODUCT_ROLE_DEFINE.ROLE_CODE";

    /**
     * Mapped Field ROLE_NAME
    */
    static final String RoleName = "PRODUCT_ROLE_DEFINE.ROLE_NAME";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_ROLE_DEFINE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_ROLE_DEFINE.REMARKS";

    /**
     * Mapped Attribute productDefineName
    */
    static final String ProductDefineName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductDefineDAO.ProductName,
            com.ourteam.product.requirement.dao.IProductDefineDAO.EntityName +
            ".", "PRODUCT_DEFINE.");

    /**
     * Mapped Attribute productDefineStatus
    */
    static final String ProductDefineStatus = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductDefineDAO.Status,
            com.ourteam.product.requirement.dao.IProductDefineDAO.EntityName +
            ".", "PRODUCT_DEFINE.");

    /**
     * Mapped Attribute productDefineCode
    */
    static final String ProductDefineCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductDefineDAO.ProductCode,
            com.ourteam.product.requirement.dao.IProductDefineDAO.EntityName +
            ".", "PRODUCT_DEFINE.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductRoleDefine findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productDefineId
         */
        static final String ProductDefineId = "productDefineId";

        /**
         * Attribute roleCode
         */
        static final String RoleCode = "roleCode";

        /**
         * Attribute roleName
         */
        static final String RoleName = "roleName";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute productDefineName
         */
        static final String ProductDefineName = "productDefineName";

        /**
         * Attribute productDefineStatus
         */
        static final String ProductDefineStatus = "productDefineStatus";

        /**
         * Attribute productDefineCode
         */
        static final String ProductDefineCode = "productDefineCode";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
